package com.github.iielse.imageviewer.core

import com.github.iielse.imageviewer.adapter.ItemType


data class MyPhotoData(val id: Long,
                  val url: String,
                  val subsampling: Boolean = false,
                  val desc: String = "[$id] Caption or other information for this picture [$id]") : Photo {
    override fun id(): Long = id
    override fun itemType(): Int {
        return /*when {
            VideoUtils.isVideoSource(url) -> ItemType.VIDEO
            subsampling -> ItemType.SUBSAMPLING
            else ->*/ ItemType.PHOTO
       // }
    }
}
